body,div,span,header,footer,nav,section,aside,article,ul,dl,dt,dd,li,a,p,h1,h2,h3,h4,h5,h6,i,b,textarea,button,input,select,figure,figcaption,
 {
  padding: 0;
  margin: 0;
  list-style: none;
  font-style: normal;
  text-decoration: none;
  border: none;
  font-weight: normal;
  font-family: "Arial,Helvetica, sans-serif,Microsoft Yahei";
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;

  &:hover {
    outline: none;
  }
}

/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar {
  width: 0px;
  height: 0px;
  background-color: #f5f5f5;
}

/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 1px rgba(0, 0, 0, 0);
  border-radius: 10px;
  background-color: #f5f5f5;
}

/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
  background-color: #555;
}

input[type="button"],
input[type="submit"],
input[type="search"],
input[type="reset"] {
  -webkit-appearance: none;
}

input:focus {
  outline: none;
}

textarea {
  -webkit-appearance: none;
}

html,
body {
  height: 100%;
  width: 100%;
  font-size: .512rem;
  background-color: #f2f2f2;
  color: #333;
}

a {
  color: #333;
}

img {
  width: 100%;
  vertical-align: middle;
}

.clear:after {
  content: '';
  display: block;
  clear: both;
}

.clear {
  zoom: 1;
}

.back_img {
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.margin {
  margin: 0 auto;
}

.left {
  float: left;
}

.right {
  float: right;
}

.hide {
  display: none;
}

.show {
  display: block;
}

.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.paddingTop {
  padding-top: 1.95rem;
}

@keyframes backOpacity {
  0% {
    opacity: 1;
  }

  25% {
    opacity: .5;
  }

  50% {
    opacity: 1;
  }

  75% {
    opacity: .5;
  }

  100% {
    opacity: 1;
  }
}

.animation_opactiy {
  animation: backOpacity 2s ease-in-out infinite;
}
/*mint-ui   reset*/
.mint-cell {
  min-height: 2rem;
}

.mint-cell-wrapper {
  font-size: .6rem;
  border-bottom: 1px solid #eee;
}

.mint-field .mint-cell-title {
  width: 20%;
}

.mint-switch-input:checked + .mint-switch-core {
  border-color: #e20f0f !important;
  background-color: #e20f0f !important;
}
/*check*/
.m-checkbox {
  width: .8rem;
  height: .8rem;
  background-image: url(assets/unchecked.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  display: block;
}

.checkbox {
  padding: 0 .4rem;
}
/*选中的时候*/
.m-checkbox.checked {
  background-image: url(assets/checked.png);
}
/*无结果*/
.no-result {
  height: 50%;
  position: absolute;
  width: 100%;
  top: 3.6rem;
  text-align: center;
  background: #fff;
  font-size: .8rem;

  i {
    display: block;
    font-size: 3rem;
    margin: 3rem 0 1rem;
  }
}
/*搜索*/
.search-container {
  display: flex;
  align-items: center;
  text-align: center;
  height: 1.877rem;
  padding: 0 .4rem;
  background-color: #f2f2f2;
  position: relative;
  border-bottom: 1px solid #d9d9d9;
  i{margin-left:.2rem;}
}

.m-topSearchIpt {
  justify-content: center;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  height: 1.2rem;
  font-size: .6rem;
  background-color: #fff;
  border-radius: .6rem;
  width: 100%;
  position: relative;

  .tips {
    position: absolute;
    left: 50%;
    margin-left: -1.5rem;
    height: 1.2rem;
    line-height: 1.2rem;
  }

  input {
    width: 100%;
    border: none;
    left: 0;
    height: 1.2rem;
    line-height: 1.2rem;
    background: none;
    position: absolute;
    padding-left: .4rem;
    z-index: 555;
  }

  .icon {
    display: inline-block;
    font-size: .6rem;
    margin-right: .2rem;
  }

  .placeholder {
    color: #999;
  }

  &.fl {
    .tips {
      left: 0;
      margin-left: .3rem;
    }
  }
}

.mod-item {
  position: relative;
  width: 100%;
  height: 5.97333rem;
  overflow: hidden;
  border-bottom:.4rem solid #f2f2f2;
&.switch-item{
  width: 50%;
  height: auto;
  border-bottom-width: .2rem;
  border-right:.2rem solid #f2f2f2;
  float: left;
  &:nth-child(2n){
    border-right: none;
  }
  .gd-img{
    width: 7.9rem;
    height: 7.9rem;
    margin:0 auto;
    float: none;
  }
  .gd-info{
    padding: 0 .2rem;
    margin:0!important;
  }
}



  .gd-img {
    float: left;
    z-index: 1;
    height: 5.3rem;
    width: 5.3rem;
    margin-right: .4rem;
  }

  .gd-info {
    z-index: 2;
    margin-left: 5.5rem;
    .gd-name {
      margin: .4rem .2rem .2rem 0rem;
      font-size: .64rem;
      max-height: 2.0rem;
      line-height: .768rem;
      color: #000;
      overflow: hidden;

      .title {
        line-height: .8rem;
        max-height: 2rem;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
      }
    }
    .goods-label{
      font-size: .512rem;
      color: #e83c4a;
      border: #e83c4a 1px solid;
      border-radius: .2rem;
      margin: 0 .3rem .2rem 0;
      padding: 0 .2rem;
      display: inline-block;
    }
    .region{
      font-size: .512rem;
      line-height: 1.0rem;
      color: #999;
    }
    .gd-price {
      color: #000;
      line-height: 1.0rem;
      .gd-price-now {
        color: #f43642;
        font-size: .81067rem;
         em {
          font-size: .6rem;
          font-style: normal;
        }
        span{
          color: #666;
          font-weight: bold;
          margin-left: .2rem;
          font-size: 0.512rem;
        }
      }

      .gd-price-ori {
        color: #999;
        font-size: .512rem;
         em {
          text-decoration: line-through;
          font-style: normal;
        }
      }
    }
  }

  .gd-cmd {
    position: absolute;
    bottom: .1rem;
    right: .6rem;
    display: block;
    text-align: center;
    z-index: 9;

    i {
      color: #666;
      margin-left: .3rem;
    }
  }
}

/*登录*/
.head-logo {
  img {
    width: 50%;
    margin: 3rem auto;
    display: block;
  }
}

.login-box {
  .item {
    background: #fff;
    border-bottom: 1px solid #eee;
    height: 2.5rem;
    line-height: 2.5rem;
    position: relative;

    input {
      float: left;
      border: none;
      padding: 0 .4rem 0 2rem;
      width: 70%;
      height: 2.4rem;
    }

    img {
      width: 20%;
    }

    i {
      width: 1rem;
      height: 2.5rem;
      position: absolute;
      left: .4rem;
      top: 0;
    }
  }

  .mt {
    margin-top: 1rem;
    position: relative;
    font-size: .6rem;

    p {
      width: 90%;
      margin: 0 auto;
      line-height: 1.2rem;
    }
  }

  .log-button {
    margin: 0 auto;
    width: 90%;
    display: block;
    height: 2.2rem;
    border: none;
    border-radius: 3px;
    background-color: #f03468;
    color: #fff;
    text-align: center;
    font-size: .85rem;
    line-height: 2.2rem;
  }
}

.other-login {
  margin-top: 3rem;
  font-size: .6rem;
  color: #999;
  position: relative;

  p {
    margin-top: .5rem;
    border-bottom: 1px solid #eee;
  }

  em {
    font-style: normal;
    text-align: center;
    display: inline-block;
    height: 1rem;
    background: #fff;
    position: absolute;
    top: -.5rem;
    width: 6rem;
    left: 50%;
    margin-left: -3rem;
  }

  img {
    width: 3rem;
    display: inline-block;
    position: absolute;
    &:nth-child(1){
      left: 2rem;
      animation:mymove .5s ease-in;
    }
    &:nth-child(2){
      left:6rem;
      animation:mymove 1s ease-in;
    }
    
  }
}

@keyframes mymove
{
from {top:300px;}
to {top:120px;}
}

@-webkit-keyframes mymove 
{
  from {top:300px;}
  to {top:120px;}
}
.cart-bottom {
  width: 100%;
  height: 2rem;
  color: #414141;
  font-size: .5rem;
  background-color: #fff;
  position: fixed;
  right: 0;
  left: 0;
  bottom: 0;
  margin: 0 auto;
  text-align: center;
  font-family: 'Microsoft YaHei';
  z-index: 9;

  .cart-ico {
    width: 20%;
    float: left;
    padding-top: .2rem;

    &.act {
      color: #f00;

      i {
        color: #f00;
      }
    }

    span {
      display: block;
    }
  }

  .order-money {
    float: left;
    text-align: left;
    width: 70%;
    line-height: .8rem;
    padding-left: .8rem;
    padding-top: .2rem;
    box-sizing: border-box;
    color: #f00;

    p {
      color: #f00;
      vertical-align: middle;
      font-size: .8rem;
      line-height: 1.0rem;
    }
  }

  a {
    float: right;
    width: 30%;
    background: #f00;
    color: #fff;
    font-size: .6rem;
    font-weight: bold;
    height: 2rem;
    line-height: 2rem;
  }
}

.mint-toast {
  color: #fff;
}

/*编辑地址*/
.linkage-wrap {
  left: 20%;
  width: 80%;
  height: 2rem;
  z-index: 999;
  top: 6rem;
  position: absolute;

  .address-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 30px;
    font-size: 14px;
    color: #333;

    .input {
      display: flex;
      align-items: center;
      flex: 1;
      height: 100%;
      padding: 0;
      box-sizing: border-box;
    }

    .btn {
      flex: 0 0 80px;
      width: 100%;
      height: 1.2rem;
      line-height: 30px;
      text-align: center;
      border: 1px solid #ccc;
      border-left: 0 none;
      box-sizing: border-box;
      position: absolute;
      opacity: 0;
    }
  }

  .pick-mark {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 999;

    .btn-wrap {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 180px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 40px;
      padding: 0 20px;
      font-size: 14px;
      background: #fff;

      .btn-cancel {
        color: #999;
      }

      .btn-sure {
        color: #b4282d;
      }
    }

    .select {
      position: absolute;
      left: 0;
      bottom: 0;
      width: 100%;
      background-color: #eeeeee;
    }

    .picker-items {
      font-size: 14px;
      background: #eee;

      .picker-slot {
        font-size: 14px;
      }

      .picker-item {
        &.picker-selected {
          color: #535353;
        }
      }

      .picker-center-highlight {
        &:after,
        &:before {
          background: #fff;
        }
      }
    }
  }
}

